package com.learn.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class HelloServiceExecutor {
    @Before("com.learn.aop.HelloServiceAspect.executeService()")
    public void doBeforeAdvice(){
        System.out.println("我是前置通知!!!");
    }
}
